package org.exceptions;


public class OurException extends Exception {
	
	private static final long serialVersionUID = 1L;
	
	private String message;
	
	public OurException(String message){
		this.setMessage(message);
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
	
	public void printMessage(){
		System.err.println(this.getMessage());
	}
}
